<?php
namespace app\common\validate;

use think\Validate;

class Article extends Validate{

    protected $rule = [
        'title'=>'require',
        'content'=>'require'
    ];

    protected $message = [
        'title.require'=>'请输入文章标题',
        'content.require'=>'请输入文章内容'
    ];

}